package com.light.gulimall.seckill.feign;

import com.light.gulimall.seckill.pojo.SeckillSessionPojo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(name = "gulimall-coupon")
public interface CouponRemoteServiceClient {

    /**
     * 得到最近三天的秒杀活动信息
     * 今天是2024-10-27
     * 得到2024-10-27 00:00:00 到 2024-10-29 23:59:59
     * @return
     */
    @GetMapping("coupon/seckillsession/currentUserCartItems")
    List<SeckillSessionPojo> getLasted3SeckillInfo();
}
